#!/usr/bin/python

database = [
        ['david', '1234'],
        ['dave', '1234'],
        ['sfwork', '1234'],
        ['arm', '1234']
    ]
username = input("User name: ")
passwd = input("passwd: ")

if [username, passwd] in database:
    print("Access granted")
else:
    print("Access denyed")
